package com.dly.blog.service;

import com.dly.blog.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dly.blog.domain.ro.PageRO;
import com.dly.blog.domain.ro.UserCreateRO;
import com.dly.blog.domain.vo.*;
import com.dly.blog.domain.ro.user.UserPageRO;
import com.dly.blog.domain.ro.user.UserAddRO;
import com.dly.blog.domain.ro.user.UserEditRO;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author DLY
 * @since 2024-11-11 14:10:57
 */
public interface UserService extends IService<User> {

    UserVO getUserInfo();

    PageVO<UserVO> getUserPage(UserPageRO pageRO);

    AdminUserVO getAdminUserInfo();

    void create(UserCreateRO userCreateRO);

    void reset(String id);

    void addUser(UserAddRO userAddRO);

    UserRouterVO getUserRoutes();

    List<RouteVO> getConstantRoutes();

    UserVO getUser(String id);

    void removeUser(String[] ids);

    void editUser(UserEditRO userEditRO);
}
